function stamp (){
	
	this.modNo = null;
}

stamp.prototype = new CoreSimpleModule(); 

stamp.prototype.uploadStamp=function(){
		
	var stempPW = $("input[name='ORGAN_STAMP_PASSWORD']","#itemForm").val();
	
	var params = util.getParams({ID:$("input[name='"+app.module.getConfig()['module.idCol']+"']","#itemForm").val(),edit:true,namespace:app.module.getConfig()["module.namespace"]});
	
	params["MODULE_NO"] = stamp.modNo;
	
	params["reloadType"] = "item";
	
	params["tempVal"] = stempPW;
	
	params.fileExt = "(*.gif;*.jpg;*.jpeg;*.png;*.bmp)";
	
	params.fileDesc = "图片(*.gif;*.jpg;*.jpeg;*.png;*.bmp)";

	util.openViewPop("公章上传",basepath+"/commons/commons_uploadImage.jsp",params);
	
};

stamp.prototype.uploadStampPassWord=function(first){

	var params = util.getParams({ID:$("input[name='"+app.module.getConfig()['module.idCol']+"']","#itemForm").val(),edit:true,"first":first,namespace:app.module.getConfig()["module.namespace"]});
					
	util.openViewPop("签章密码修改",basepath+"/admin/stamp/changePWDPage", params);

};
